{extend name="admin@index_layout"/}
{block name="main"}
<style type="text/css">
    .layui-form {
        width: 500px;
        margin: 50px auto;
        padding: 100px 100px;
    }
</style>
<form class="layui-form" method="post">
    <div class="layui-form-item">
        <label class="layui-form-label">提现服务站</label>
        <div class="layui-input-block">
            <input type="text" name="row[business_name]" autocomplete="off" placeholder="提现服务站" class="layui-input"
                   value="{$data.business_name}" readonly="readonly">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">提现金额</label>
        <div class="layui-input-block">
            <input type="text" name="row[amount]" autocomplete="off" placeholder="提现金额" class="layui-input"
                   value="{$data.amount}" readonly="readonly">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-block">
            <input type="text" name="row[phone]" autocomplete="off" placeholder="联系电话" class="layui-input"
                   value="{$data.phone}" readonly="readonly">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">账号类型</label>
        <div class="layui-input-block">
            <input type="text" name="row[tixian_type_name]" autocomplete="off" placeholder="账号类型" class="layui-input"
                   value="{$data.tixian_type_name}" readonly="readonly">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="row[tixian_name]" autocomplete="off" placeholder="姓名" class="layui-input"
                   value="{$data.tixian_name}" readonly="readonly">
        </div>
    </div>
    {if $data.tixian_type==3}
    <div class="layui-form-item">
        <label class="layui-form-label">银行名称</label>
        <div class="layui-input-block">
            <input type="text" name="row[tixian_bank]" autocomplete="off" placeholder="提现银行" class="layui-input"
                   value="{$data.tixian_bank}" readonly="readonly">
        </div>
    </div>
    {/if}
    <div class="layui-form-item">
        <label class="layui-form-label">提现账号</label>
        <div class="layui-input-block">
            <input type="text" name="row[tixian_account]" autocomplete="off" placeholder="提现账号" class="layui-input"
                   value="{$data.tixian_account}" readonly="readonly">
        </div>
    </div>


    {if $type==0}
    <div class="layui-form-item">
        <label class="layui-form-label">提现状态</label>
        <div class="layui-input-block">
            <input type="radio" name="row[status]" value="0" title="待审核" {if $data.status==0}checked{/if}>
            <input type="radio" name="row[status]" value="1" title="审核通过" {if $data.status==1}checked{/if}>
        </div>
    </div>
    {/if}
    <input type="hidden" name="row[id]" value="{$data.id}">
    {if $data.status==0}
    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>提交审核状态</button>
        </div>
    </div>
    {/if}
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'laydate'], function () {
        var yznForm = layui.yznForm,
            laydate = layui.laydate;
        yznForm.bindevent($("form.layui-form"));
        laydate.render({
            elem: '#ID-laydate'
        });
    });
</script>
{/block}